﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity.ModelConfiguration;

namespace ERPStore.NewsLetters.Repositories.Mapping
{
	public class CampaignStatMap : EntityTypeConfiguration<Datas.CampaignStatData>
	{
		public CampaignStatMap()
		{
			this.HasKey(e => e.CampaignStatId);

			/* this.HasRequired(p => p.Campaign)
				.WithRequiredPrincipal(i => i.CampaignStat); */

			this.ToTable("NewsLetterCampaignStat");
		}
	}
}
